set term pdfcairo lw 2 font "Arial,18"
set output "../ycsb-oltp-rw-abort.pdf"

set xlabel "Read ratio" font "Arial,20"
set ylabel "Abort Rate" font "Arial,20"
set xtics ("0.0" 0.0,"0.2" 0.2,"0.4" 0.4,"0.6" 0.6,"0.8" 0.8,"1.0" 1.0)
# set logscale x
# set key center at 300000,7500
# unset key
set key center right top

set grid lw 2
set key maxcols 1
set key maxrows 5
set key samplen 3
plot [0:1][] \
"ycsb-oltp-rw-abort.txt" using 1:2 title "TICTOC" with linespoints linecolor 7 linewidth 2 pointtype 13 pointsize 1.5,\
"ycsb-oltp-rw-abort.txt" using 1:3 title "SILO" with linespoints linecolor 8 linewidth 2 pointtype 14 pointsize 1.5,\
"ycsb-oltp-rw-abort.txt" using 1:4 title "HEKATON" with linespoints linecolor 9 linewidth 2 pointtype 7 pointsize 1.2,\
"ycsb-oltp-rw-abort.txt" using 1:5 title "MVCC" with linespoints linecolor 10 linewidth 2 pointtype 16 pointsize 1.5,\
"ycsb-oltp-rw-abort.txt" using 1:6 title "WHTAP" with linespoints linecolor 11 linewidth 2 pointtype 17 pointsize 1.5